package com.aaa.inbound.service.impl;

import com.aaa.entity.inbound.PurchaseDetail;
import com.aaa.inbound.mapper.PurchaseDetailMapper;
import com.aaa.inbound.service.PurchaseDetailService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author aaa
 * @since 2020-11-25
 */
@Service
public class PurchaseDetailServiceImpl extends ServiceImpl<PurchaseDetailMapper, PurchaseDetail> implements PurchaseDetailService {

    @Autowired
    private PurchaseDetailMapper purchaseDetailMapper;


    @Override
    public List<Map> findCommodity(Long warehouseid) {
        return purchaseDetailMapper.findCommodity(warehouseid);
    }
}
